﻿<%@ Page Language="C#" MasterPageFile="~/SinhVien/NestedMasterPage.master" AutoEventWireup="true" CodeBehind="DangKyHocPhan.aspx.cs" Inherits="Website.SinhVien.DangKyHocPhan" Title="Sinh viên - Đăng ký học phần" %>
<asp:Content ID="Content1" ContentPlaceHolderID="bodyright" runat="server">
    <h3>Đăng ký học phần </h3>
    <asp:GridView ID="dtgDanhSachLopHoc" runat="server" 
    AutoGenerateColumns="False" CellPadding="4" ForeColor="#333333" 
    GridLines="None" AllowPaging="True">
        <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
        <RowStyle BackColor="#EFF3FB" />
        <Columns>
            <asp:BoundField DataField="TenHocPhan" HeaderText="Học Phần" >
                <ItemStyle Width="200px" />
            </asp:BoundField>
            <asp:BoundField DataField="GioHoc" HeaderText="Giờ học" />
            <asp:BoundField DataField="SoTinChi" HeaderText="Số tín chỉ" />
            <asp:BoundField DataField="SoLuongDangKy" HeaderText="Số lượng" />
            <asp:TemplateField>
                <ItemTemplate>
                    <asp:CheckBox ID="chkSelect" runat="server"  />
                    
                </ItemTemplate>
            </asp:TemplateField>
            
        </Columns>
        <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
        <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
        <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
        <EditRowStyle BackColor="#2461BF" />
        <AlternatingRowStyle BackColor="White" />
    </asp:GridView>
    <br/>
    <br/>
    <asp:Button ID="btnDangKy" runat="server" Text="Đăng ký" 
        onclick="btnDangKy_Click" />
</asp:Content>
